//package com.github.llyb120.sxmanage;
//
//import lombok.Data;
//import org.springframework.boot.context.properties.ConfigurationProperties;
//import org.springframework.boot.context.properties.EnableConfigurationProperties;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.stereotype.Component;
//import org.springframework.stereotype.Service;
//
//import java.util.ArrayList;
//import java.util.List;
//
///**
// * @Author: Administrator
// * @Date: 2020/12/1 12:51
// */
//@Data
//@EnableConfigurationProperties
//@Configuration
//@ConfigurationProperties(prefix = "services")
//public class Services {
//
//    public List<Config> config;
//
//    public List<Config> getConfig() {
//        return new ArrayList<>(config);
//    }
//
//    @Data
//    public static class Config{
//        String name;
//        String start;
//        String stop;
//        String log;
//        String restart;
//        String health;
////        List<String> update = new ArrayList<>();
//    }
//
//
//}
